# -*- coding: utf-8 -*-
"""
Version: 0.1
Author: CarpeDiem
Date: 2022/3/26
Description: 将美元转换为人民币
"""


# 假设汇率为：1美元=6.28人民币
def fun_swap(x):
    rmb = x * 6.28
    return rmb


dollar = input("请输入要转换的美元金额：")
last_rmb = fun_swap(float(dollar))
print("转换后人民币的金额是：", last_rmb)